home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ WinNT Wheel Mouse Use.xpl
< prev
next >
Wrap
Text File
|
2001-04-13
|
2KB
|
62 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="7"
"COUNT"="3"
"UIPATH"="Hardware\Mouse\Wheelmouse"
"NAME"="Windows NT/2K/XP Wheelmouse Use"
"OSVERSION"="010101"
"VERSION"="1.13"
"LANGUAGE"="VBScript"
"TEXT 1"="Auto-Detect Wheel"
"TEXT 2"="Always Enable Wheel"
"TEXT 3"="Disable Detection"
"DESCRIPTION 1"="These settings are for a PS/2 Wheel Mouse without special driver (IntelliPoint or 3rd party) when the wheel is not functional."
"DESCRIPTION 2"="To automatically detect the wheel, check Box 1; To always enable the wheel, check Box 2."
"DESCRIPTION 3"="If Box 1 [Auto Detect] or Box 2 [Always Enable] had been previously selected & neither is now desired, check Box 3."
"AUTHOR"="Ojatex@aol.com"
"CONTACTURL"="http://members.aol.com/ojatex/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="Thanks to CptSiskoX for suggested plugin."
"COMMENT 2"="Save a Mouse --> Get a Laptop."
sV1="HKLM\System\CurrentControlSet\Services\i8042prt\Parameters\EnableWheelDetection" 'DW
Sub Plugin_Initialize
s=RegReadValue(sV1)
'check for auto-detect
if s=1 then SetUIElement 1,true
'check for always enable
if s=2 then SetUIElement 2, true
'check for disable selections
if s=3 then SetUIElement 3, true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
Call RegWriteValue(sV1,1,2)
Call Restart()
end if
if GetUIElement(2)=true then
Call RegWriteValue(sV1,2,2)
Call Restart()
end if
if GetUIElement(3)=true then
Call RegDeleteValue(sV1)
Call Restart()
End if
End Sub
Sub Plugin_Terminate
End Sub